<template>
  <PageWrapper>
    <template #headerContent> <WorkbenchHeader /> </template>
    <div class="lg:flex">
        <!-- <DynamicInfo :loading="loading" class="!my-4 enter-y" /> -->
      <div class="lg:w-7/10 w-full !mr-4 enter-y">
        <div class="lg:flex">
          <Notice :loading="loading" class="!lg:w-5/10 enter-y !mr-4" />
          <PmDelay :loading="loading" class="lg:w-5/10 enter-y" />
        </div>
        <ProjectCard :loading="loading" class="enter-y" />
        <Notice :loading="loading" class="!my-4 enter-y" />
        <Message :loading="loading" class="enter-y" />
      </div>
      <div class="lg:w-3/10 w-full enter-y">
        <QuickNav :loading="loading" class="enter-y" />

        <Card class="!my-4 enter-y" :loading="loading">
          <img class="xl:h-50 h-30 mx-auto" src="../../../../assets/svg/illustration.svg" />
        </Card>

        <!-- <SaleRadar :loading="loading" class="enter-y" /> -->


        <projectInfo class="!my-4 enter-y" :loading="loading" />
        <projectType class="!my-4 enter-y" :loading="loading" />
        <contributionType class="enter-y" :loading="loading" />
      </div>
    </div>
  </PageWrapper>
</template>
<script lang="ts">
  export default defineComponent({
    name: 'Workbench',
  });
</script>
<script lang="ts" setup>
  import { defineComponent, ref } from 'vue';
  import { Card } from 'ant-design-vue';
  import { PageWrapper } from '/@/components/Page';
  import WorkbenchHeader from './components/WorkbenchHeader.vue';
  import ProjectCard from './components/ProjectCard.vue';
  import QuickNav from './components/QuickNav.vue';
  // import DynamicInfo from './components/DynamicInfo.vue';
  // import SaleRadar from './components/SaleRadar.vue';

  import Notice from './components/Notice.vue';
  import Message from './components/Message.vue';
  import PmDelay from './components/PmDelay.vue';
  import projectInfo from './components/projectInfo.vue';
  import projectType from './components/projectType.vue';
  import contributionType from './components/contributionType.vue';
  const loading = ref(true);

  setTimeout(() => {
    loading.value = false;
  }, 1500);
</script>
